
<%@ include file="include.jsp" %>

<html>
<body>

<H3>系统发生未知错误,请您稍后重试或与系统管理员联系.可能是session过期或者是连接池过期。重新登录即可。</H3>

<H2>Internal error</H2>
<P>

 
try {
	// The Servlet spec guarantees this attribute will be available
	Exception exception = (Exception) request.getAttribute("javax.servlet.error.exception"); 

	if (exception != null) {
		if (exception instanceof ServletException) {
			// It's a ServletException: we should extract the root cause
			ServletException sex = (ServletException) exception;
			Throwable rootCause = sex.getRootCause();
			if (rootCause == null)
				rootCause = sex;
			out.println("** Root cause is: "+ rootCause.getMessage());
			rootCause.printStackTrace(new java.io.PrintWriter(out)); 
		}
		else {
			// It's not a ServletException, so we'll just show it
			exception.printStackTrace(new java.io.PrintWriter(out));
		}
	} 
	else  {
    	out.println("No error information available");
	} 
	    
} catch (Exception ex) { 
	ex.printStackTrace(new java.io.PrintWriter(out));
}


</body>
</html>

